#pragma once

typedef struct _stCopyDataResponseNode
{
	UINT msg;
	HWND sender;
	LRESULT result;
} stCopyDataResponseNode;

class CCopyDataResponse
{
public:
	CCopyDataResponse();
	~CCopyDataResponse();

	void clear(UINT msg, HWND sender);
	void set(UINT msg, HWND sender, LRESULT result);
	LRESULT get(UINT msg, HWND sender);
protected:
	stCopyDataResponseNode *find(UINT msg, HWND sender);

	stCopyDataResponseNode *recs; intptr_t count;
};
